package com.powernode.hystrix;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.powernode.clients.SearchProductServiceClient;
import com.powernode.domain.Prod;
import com.powernode.domain.ProdTagReference;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class SearchProductServiceClientImpl implements SearchProductServiceClient {
    @Override
    public Page<ProdTagReference> selectProdTagReferencePageByTagIdAndSize(Long tagId, Integer size) {
        log.error("搜索服务调用产品服务-获取商品和商品引用错误");
        return null;
    }

    @Override
    public List<Prod> selectProdListByIds(List<Long> ids) {
        log.error("搜索服务调用产品服务-通过标识获取商品列表错误");
        return null;
    }
}
